package cn.itsource.user.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.user.domain.User;

public interface UserMapper extends BaseMapper<User>{

    //根据手机号查询对应的user对象
    User findUserByPhone(String phone);
    //根据登录用户id查询user对象
    User lodaUserById(Long id);
}
